package edu.nwmissouri.galaxygames;

import java.util.ArrayList;

import android.content.Context;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ListView;

public class LifeListView extends ListView
{
    //This is just a custom listview that keeps track of it's dimensions and centerpoint.
    int selectionCenter;
    int lvHeightCenter;
    public LifeListView(Context context, AttributeSet attrs)
    {
	super(context, attrs);
	DisplayMetrics metrics = getResources().getDisplayMetrics();
	//---Store the height in pixels of the current device
	int height = metrics.heightPixels;
	this.lvHeightCenter = height/4;
	this.selectionCenter = lvHeightCenter/2;
    }
}
